<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/BSP/dev_uart.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_4ca18d753a70f6eada20fde478bd3fc8.html">BSP</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">dev_uart.h</div></div>
</div><!--header-->
<div class="contents">
<a href="dev__uart_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#ifndef __DEV_UART_H__</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#define __DEV_UART_H__</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#include &quot;SWM341.h&quot;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="keywordtype">void</span> <a class="code hl_function" href="dev__uart_8h.html#aadbe4996756dcc6199bc9ec2e4969993">uart_debug_port_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="keywordtype">void</span> <a class="code hl_function" href="dev__uart_8h.html#afd092ef1d390fe16bc90e101bbbca1d8">uart_debug_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span><span class="keywordtype">void</span> <a class="code hl_function" href="dev__uart_8h.html#a21296d9c26b359559c9c6c65a7cb1151">uart_send_msg</a>(UART_TypeDef *uart_x, <span class="keyword">const</span> uint8_t *src_buf, <span class="keyword">const</span> uint32_t num_bytes);</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span><span class="preprocessor">#endif </span><span class="comment">//__DEV_UART_H__</span></div>
<div class="ttc" id="adev__uart_8h_html_a21296d9c26b359559c9c6c65a7cb1151"><div class="ttname"><a href="dev__uart_8h.html#a21296d9c26b359559c9c6c65a7cb1151">uart_send_msg</a></div><div class="ttdeci">void uart_send_msg(UART_TypeDef *uart_x, const uint8_t *src_buf, const uint32_t num_bytes)</div><div class="ttdoc">串口发送数据</div><div class="ttdef"><b>Definition:</b> <a href="dev__uart_8c_source.html#l00132">dev_uart.c:132</a></div></div>
<div class="ttc" id="adev__uart_8h_html_aadbe4996756dcc6199bc9ec2e4969993"><div class="ttname"><a href="dev__uart_8h.html#aadbe4996756dcc6199bc9ec2e4969993">uart_debug_port_init</a></div><div class="ttdeci">void uart_debug_port_init(void)</div><div class="ttdoc">配置串口打印调试日志的端口</div><div class="ttdef"><b>Definition:</b> <a href="dev__uart_8c_source.html#l00090">dev_uart.c:90</a></div></div>
<div class="ttc" id="adev__uart_8h_html_afd092ef1d390fe16bc90e101bbbca1d8"><div class="ttname"><a href="dev__uart_8h.html#afd092ef1d390fe16bc90e101bbbca1d8">uart_debug_init</a></div><div class="ttdeci">void uart_debug_init(void)</div><div class="ttdoc">初始化用作打印调试日志的串口</div><div class="ttdef"><b>Definition:</b> <a href="dev__uart_8c_source.html#l00103">dev_uart.c:103</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
